import 'package:star_author/event_bus/global_event_bus.dart';
import 'package:star_author/event_bus/refresh_page_event.dart';

class EventBusUtil {
  static fireRefreshPageEvents(List names) {
    names.forEach((element) {
      GlobalEventBus().bus.fire(RefreshPageEvent(element));
    });
  }
}
